<?xml version="1.0" encoding="UTF-8"?>
<rss
    xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
    http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
    <version>2.0</version>
    <?php if (is_array($sitemap)) { ?>

        <?php foreach ($sitemap as $value): ?>
            <channel>
                <title><?php echo $value['titulo']; ?></title>
                <link><?php echo $this->Html->url($value['router'], true); ?></link>
                <description><![CDATA[<?php echo $value['descricao']; ?>]]></description>
            </channel>
        <?php endforeach; ?>

    <?php } ?>
</rss>